import {StringOrNull} from './Types';

export interface IPersonState {
    FirstName: string,
    LastName: string,
    Address1: string,
    Address2: string,
    Town: string,
    County: string,
    PhoneNumber: string,
    Postcode: string,
    DateOfBirth: StringOrNull,
    PersonId: string
}

export class PersonState implements IPersonState {
    public Address1: string = '';
    public Address2: string = '';
    public County: string = '';
    public DateOfBirth: StringOrNull = '';
    public FirstName: string = '';
    public LastName: string = '';
    public PersonId: string = '';
    public PhoneNumber: string = '';
    public Postcode: string = '';
    public Town: string = '';

}